package cn.com.nes.site.entity.vo.patrolPlan;

import cn.com.nes.site.entity.vo.PageVO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.Pattern;

/**
 * 巡检计划条件查询 vo
 * hjp
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class QueryPatrolPlanByQueryVo extends PageVO {
    @Pattern(regexp = "^\\d{4}|$")
    private String year;
    private Integer status;
    private String patrolPlanId;
    private String xzqhdm;
    @Min(value = 1)
    private Integer page;
    @Min(value = 1)
    private Integer size;
    /**
     * 是否已开始
     */
    private Integer isStart;

    private String[] xzqhdms;

    private Long companyId;

    private boolean queryHistory = false;

    private String tableName;

}
